projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18ec34
)
toolbar: Don't propagate events to placeholders
author
Benjamin Otte
<otte@redhat.com>
Mon, 6 Sep 2010 14:07:44 +0000
(16:07 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:36 +0000
(15:11 +0200)
In particular don't when that's done using uninitialized memory
gtk/gtktoolbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolbar.c
b/gtk/gtktoolbar.c
index 9642f5bbdd19cb76c73792aba48ea5bbffbe1a4e..819809c462db50bc988302fb5db6e7b6a37cb68b 100644
(file)
--- a/
gtk/gtktoolbar.c
+++ b/
gtk/gtktoolbar.c
@@
-3290,8
+3290,10
@@
toolbar_content_expose (ToolbarContent *content,
{
GtkWidget *widget;
- if (!content->is_placeholder)
- widget = GTK_WIDGET (content->item);
+ if (content->is_placeholder)
+ return;
+
+ widget = GTK_WIDGET (content->item);
if (widget)
gtk_container_propagate_expose (container, widget, expose);